package com.service;

import com.pojo.TbUsers;
import com.util.JSONResult;


public interface UsersService {
    JSONResult findAllUserByUserName(int page, int limit, String userName);

    JSONResult findAllUserByState(int page, int limit, int state);

    JSONResult addUser(TbUsers user);

    JSONResult deleteUser(int userId);

    JSONResult updateUser(TbUsers user);

    JSONResult findUserById(int userId);

    JSONResult findAllUser(int page, int limit);
}
